home *** CD-ROM | disk | FTP | other *** search
- Path: news.informatik.uni-kiel.de!not-for-mail
- From: rb@informatik.uni-kiel.d400.de (Ralf Behnke)
- Newsgroups: comp.lang.modula2
- Subject: Re: Debugging Mocka programs
- Date: 5 Jan 1996 10:23:22 +0100
- Organization: Dept. of Computer Science, University of Kiel, FRG
- Distribution: ifi
- Message-ID: <4ciqma$mm9@floyd.informatik.uni-kiel.de>
- References: <30D176E2.7C90@fernuni-hagen.de> <DJwHp8.3ID@cocolab.sub.com>
- NNTP-Posting-Host: floyd.informatik.uni-kiel.de
-
- In <DJwHp8.3ID@cocolab.sub.com> grosch@cocolab.sub.com (Josef Grosch) writes:
-
- >In article <30D176E2.7C90@fernuni-hagen.de> you wrote:
- >: we use the Mocka Modula-2 compiler in an advance
- >: software laboratory course and wonder how
- >: to debug the programs...gdb seems not to
- >: understand the code.
-
- >Hi,
-
- >I debug MOCKA programs successfully with gdb. Sometimes it is a bit tedious,
- >but it helps a lot. All the information is in the file
- >doc/README-MOCKA-DEBUGGING of the MOCKA distribution.
-
- It seems that it depends on the version of the compiler and the operating
- system:
-
- On Solaris I am not able to debug MOCKA-programs: gdb is not able to read
- the symbols from the executable.
-
- On Linux it is different:
-
- using a very old linux system I was able to debug the programs
- on a newer system gdb can read the symbols, but "info functions"
- ends with a segmentation fault.
-
- BTW: Does somebody know the reason for this latter behaviour? Is
- this a problem of gdb or of the MOCKA-System?
-
- Best regards
-
- Ralf Behnke
- --
- | Ralf Behnke, Institut fuer Informatik, Universitaet Kiel |
- | rb@informatik.uni-kiel.d400.de Tel.: ++49-431-560489 |
- | WWW: http://www.informatik.uni-kiel.de/~rb |
-